import { NgModule } from "@angular/core";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { BrowserModule } from "@angular/platform-browser";
import { AntdIncludeModule } from "../utils/antd.include/antd.include.module";
import { DeptComponent } from './dept/dept.component';
import { AddDeptComponent } from "./dept/add-dept/add-dept.component";
import { RoleComponent } from "./role/role.component";
import { AddRoleComponent } from "./role/add-role/add-role.component";
import { MenuComponent } from "./menu/menu.component";
import { AddMenuComponent } from "./menu/add-menu/add-menu.component";
import { EmployeeComponent } from "./employee/employee.component";
import { EmployeeDeptComponent } from "./employee/employee-dept/employee-dept.component";
import { AddEmployeeComponent } from "./employee/add-employee/add-employee.component";
import { ComponentsModule } from "../components/components.module";
import { LoginComponent } from "./login/login.component";
import { RoleDataPermsComponent } from "./role/role-data-perms/role-data-perms.component";
import { GroupComponent } from "./group/group.component";
import { GroupInfoComponent } from "./group/group-info/group-info.component";
import { GroupTypeComponent } from "./group/group-type/group-type.component";
import { AddGroupTypeComponent } from "./group/group-type/add-group-type/add-group-type.component";
import { AddGroupComponent } from "./group/group-info/add-group/add-group.component";
import { GroupTypeDetailComponent } from "./group/group-type/group-type-detail/group-type-detail.component";
import { GroupDetailComponent } from "./group/group-info/group-detail/group-detail.component";
import { RoleDetailComponent } from "./role/role-detail/role-detail.component";
import { EmployeeDetailComponent } from "./employee/employee-detail/employee-detail.component";
import { MenuDetailComponent } from "./menu/menu-detail/menu-detail.component";
import { DeptDetailComponent } from "./dept/dept-detail/dept-detail.component";
import { AssignRolesComponent } from "./employee/assign-roles/assign-roles.component";

@NgModule({
    declarations: [DeptComponent, AddDeptComponent, RoleComponent, AddRoleComponent, 
        MenuComponent, AddMenuComponent, EmployeeComponent, EmployeeDeptComponent,
        AddEmployeeComponent, LoginComponent, RoleDataPermsComponent,
        GroupComponent, GroupInfoComponent, GroupTypeComponent ,
        AddGroupTypeComponent, AddGroupComponent,  GroupTypeDetailComponent,
        GroupDetailComponent, RoleDetailComponent, EmployeeDetailComponent, MenuDetailComponent,
        DeptDetailComponent, AssignRolesComponent],
    imports: [FormsModule, ReactiveFormsModule, AntdIncludeModule, BrowserModule, ComponentsModule]
})

export class SysModule {}